]> dgit.raspbian.org Git - gnome-shell.git/commit
breakManager: Allow break to be taken or delayed when overdue
authorPhilip Withnall <pwithnall@gnome.org>
Mon, 3 Mar 2025 18:48:10 +0000 (18:48 +0000)
committerMarge Bot <marge-bot@gnome.org>
Tue, 4 Mar 2025 18:42:41 +0000 (18:42 +0000)
commite9506971562e3da139f9037698e8e4a828d9895f
tree59f5cc35f085f7eebbd29e75e6e84bed1e45f111
parentc4a487bf96197c9db433e9f0f0c784ee6f9ad56d
breakManager: Allow break to be taken or delayed when overdue

This makes the buttons on the ‘break overdue’ notification match those
on the ‘time to take a break’ notification. This makes more sense than
showing no buttons on the former, because it leads on from the ‘time to
take a break’ notification after a short wait.

By adding a ‘Take’ button it gives the user a path to acknowledge that
they are starting to take their break, rather than having to let the
session idle.

The ‘break overdue’ notification wasn’t on the original design[1], which is
probably why its buttons got overlooked.

[1]: https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/wellbeing/wellbeing.png

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3656>
js/misc/breakManager.js